package com.nbst.model.mes;

import java.util.Date;

import com.nbst.model.base.OrderBy;

/**
 * 
 * @ClassName: ItemInStockBill
 * @Description:物料入库表头
 * @author HuXinshuai
 * @date 2018年10月22日
 *
 */
public class ItemInStockBill extends OrderBy {
	/** id */
	private Integer fInterId;

	/** APS任务单id */
	private Integer fIcmoEntryId;

	/** 制单时间 */
	private Date fDate;

	/** 制单人 */
	private Integer fBiller;

	/** 关闭标志 */
	private Integer fClosed;

	/** 部门id */
	private Integer fDepId;

	/** 入库单号 */
	private String fBillNo;

	/** 收料人 */
	private Integer fDManagerID;

	/** 送料人 */
	private Integer fSManagerID;

	/** 更新时间 */
	private Date updateTime;

	/** 派工单号 */
	private String fDispatchCode;

	/** 完工表id */
	private Integer fEndWorkId;

	/** 入库类型 1生产入库 2委外转入入库 3采购入库 */
	private Integer fType;

	/** 当fType=2时fSourceID为委外接收单id 当fType=3时fSourceID为采购单分录主键 */
	private Integer fSourceID;

	/** 操作人 */
	private String fWorkName;

	/** 让步接收比例 */
	private Double fConcessionRatio;

	/** 进料检id */
	private Integer fIqcId;

	public Integer getfInterId() {
		return fInterId;
	}

	public void setfInterId(Integer fInterId) {
		this.fInterId = fInterId;
	}

	public Integer getfIcmoEntryId() {
		return fIcmoEntryId;
	}

	public void setfIcmoEntryId(Integer fIcmoEntryId) {
		this.fIcmoEntryId = fIcmoEntryId;
	}

	public Date getfDate() {
		return fDate;
	}

	public void setfDate(Date fDate) {
		this.fDate = fDate;
	}

	public Integer getfBiller() {
		return fBiller;
	}

	public void setfBiller(Integer fBiller) {
		this.fBiller = fBiller;
	}

	public Integer getfClosed() {
		return fClosed;
	}

	public void setfClosed(Integer fClosed) {
		this.fClosed = fClosed;
	}

	public Integer getfDepId() {
		return fDepId;
	}

	public void setfDepId(Integer fDepId) {
		this.fDepId = fDepId;
	}

	public String getfBillNo() {
		return fBillNo;
	}

	public void setfBillNo(String fBillNo) {
		this.fBillNo = fBillNo == null ? null : fBillNo.trim();
	}

	public Integer getfDManagerID() {
		return fDManagerID;
	}

	public void setfDManagerID(Integer fDManagerID) {
		this.fDManagerID = fDManagerID;
	}

	public Integer getfSManagerID() {
		return fSManagerID;
	}

	public void setfSManagerID(Integer fSManagerID) {
		this.fSManagerID = fSManagerID;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public String getfDispatchCode() {
		return fDispatchCode;
	}

	public void setfDispatchCode(String fDispatchCode) {
		this.fDispatchCode = fDispatchCode;
	}

	public Integer getfEndWorkId() {
		return fEndWorkId;
	}

	public void setfEndWorkId(Integer fEndWorkId) {
		this.fEndWorkId = fEndWorkId;
	}

	public Integer getfType() {
		return fType;
	}

	public void setfType(Integer fType) {
		this.fType = fType;
	}

	public Integer getfSourceID() {
		return fSourceID;
	}

	public void setfSourceID(Integer fSourceID) {
		this.fSourceID = fSourceID;
	}

	public String getfWorkName() {
		return fWorkName;
	}

	public void setfWorkName(String fWorkName) {
		this.fWorkName = fWorkName;
	}

	public Double getfConcessionRatio() {
		return fConcessionRatio;
	}

	public void setfConcessionRatio(Double fConcessionRatio) {
		this.fConcessionRatio = fConcessionRatio;
	}

	public Integer getfIqcId() {
		return fIqcId;
	}

	public void setfIqcId(Integer fIqcId) {
		this.fIqcId = fIqcId;
	}

	@Override
	public String toString() {
		return "ItemInStockBill [fInterId=" + fInterId + ", fIcmoEntryId=" + fIcmoEntryId + ", fDate=" + fDate
				+ ", fBiller=" + fBiller + ", fClosed=" + fClosed + ", fDepId=" + fDepId + ", fBillNo=" + fBillNo
				+ ", fDManagerID=" + fDManagerID + ", fSManagerID=" + fSManagerID + ", updateTime=" + updateTime
				+ ", fDispatchCode=" + fDispatchCode + ", fEndWorkId=" + fEndWorkId + ", fType=" + fType
				+ ", fSourceID=" + fSourceID + ", fWorkName=" + fWorkName + ", fConcessionRatio=" + fConcessionRatio
				+ ", fIqcId=" + fIqcId + "]";
	}

}